package com.xbongbong.pro.statistic.result.pojo.dto;

import com.alibaba.fastjson.JSONObject;
import com.xbongbong.paas.toolbox.wrap.QueryIgnore;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;

/**
 * 获取图表穿透参数
 * @author zhouwq
 * @date 2019/4/18 18:47
 */

@Getter
@Setter
@ToString
public class ChartPenetrateResultDTO extends ChartResultDTO {

    private static final long serialVersionUID = -1001608103684240715L;

    /**
     * 图表id数组
     * 格式更改，不能直接用来作为查库条件
     */
    private List<Long> idIn;
    /**
     * y轴系列(key)
     */
    @Getter(onMethod_ = {@QueryIgnore})
    private String selectedLegend;

    /**
     * x轴分类(key)
     */
    @Getter(onMethod_ = {@QueryIgnore})
    private String selectedAxis;

    /**
     * 统计表的穿透条件
     */
    @Getter(onMethod_ = {@QueryIgnore})
    private List<JSONObject> penetrateCondition;
}
